<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>留言板</title>
</head>
<body>
        <center>
        <h1>列表</h1>
        <h2><a href="./add"><button>添加</button></a> </h2>
        <table width="800px">
            <tr>
                <th>ID</th>
                <th>Name</th>
                <th>Mobile</th>
                <th>Phone</th>
                <th>Addr</th>
            </tr>
            {% for i in data %}
            <tr>
                <th>{{ i.user_id }}</th>
                <th>{{ i.accept_name }}</th>
                <th>{{ i.moblie }}</th>
                <th>{{ i.phone }}</th>
                <th>{{ i.addr }}</th>
            </tr>
            {% endfor %}
        </table>
        </center>
</body>
</html>